#include "MTcpNetwork.h"

MTcpNetwork::MTcpNetwork()
{
    this->socket = new QTcpSocket;
}

MTcpNetwork::~MTcpNetwork()
{
    delete this->socket;
}

QTcpSocket* MTcpNetwork::get_socket()
{
    return this->socket;
}

void MTcpNetwork::set_socket(QTcpSocket* _socket)
{
    this->socket = _socket;
}
